package cn.fdaxy.shop.api.member;

import cn.fdaxy.shop.common.base.BaseResponse;
import cn.fdaxy.shop.member.dto.input.UserLoginInpDTO;
import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @ClassName MemberLoginService
 * @Description TODO
 * @Author liaofd
 * @Date 2019/7/24 15:18
 * @Version 1.0
 */
@Api(tags = "用户登陆服务接口")
public interface MemberLoginService {
    /**
     * 用户登陆接口
     * @param userLoginInpDTO
     * @return
     */
    @PostMapping("/login")
    @ApiOperation(value = "会员用户登陆信息接口")
    BaseResponse<JSONObject> login(@RequestBody UserLoginInpDTO userLoginInpDTO);
}
